package cn.edu.jlu.community.app.other;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import cn.edu.jlu.community.disuse.DataLoader;

public class RefreshReceiver extends BroadcastReceiver {
    public RefreshReceiver() {
        //...
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO: This method is called when the BroadcastReceiver is receiving
        // an Intent broadcast.
        //throw new UnsupportedOperationException("Not yet implemented");

        Log.i("aaa", " broadcast received") ;

        DataLoader.getBBS();
        DataLoader.getNews();
        DataLoader.getNotification();
    }
}
